package com.saifei.match.service.impl;

import com.saifei.match.entity.SaifeiMatch;
import com.saifei.match.mapper.SaifeiMatchMapper;
import com.saifei.match.service.SaifeiMatchService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author Genius小凡
 * @since 2021-02-18
 */
@Service
public class SaifeiMatchServiceImpl extends ServiceImpl<SaifeiMatchMapper, SaifeiMatch> implements SaifeiMatchService {

    @Autowired
    SaifeiMatchMapper saifeiMatchMapper;

    @Override
    public List<SaifeiMatch> listAll() {
        List<SaifeiMatch> matchlist = saifeiMatchMapper.listAll();
        return matchlist;
    }
}
